package cn.wolfcode.wolf2w.repository;



import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
* 攻略分类持久层接口
*/
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog, String>{
    /**
     * 根据目的地id查询攻略分类相关集合
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);

}
